package com.robot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.robot.dao.entity.DictData;
import com.robot.dao.mapper.DictDataMapper;
import com.robot.dao.vo.DictDataVO;
import com.robot.service.DictDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DictDataServiceImpl extends ServiceImpl<DictDataMapper, DictData> implements DictDataService {
    @Autowired
    private DictDataMapper dictDataMapper;

    @Override
    public List<DictDataVO> selectDictDataByType(String dictType) {
        return dictDataMapper.selectDictDataByType(dictType);
    }
}
